#求1到n（n>100）内所有奇数的平方和
n = int(input())
sum_squares = sum(x ** 2 for x in range(1, n + 1, 2))
print(sum_squares)